feat(cli): cdk init supports custom project names with --project name, -n option #1006
Merged
feat(cli): cdk init supports custom project names with --project name, -n option #1006
cdk init supports custom project names with --project name, -n option #1006Conversation
auto-merge was automatically disabled
December 25, 2025 21:52
Head branch was pushed to by a user without write access
90acec1 to
de1a9a9
Compare
mrgrain
approved these changes
Jan 12, 2026
cdk init allows setting custom project name with new --name option
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1006 +/- ##
=======================================
Coverage 87.72% 87.72%
=======================================
Files 72 72
Lines 10077 10087 +10
Branches 1327 1330 +3
=======================================
+ Hits 8840 8849 +9
- Misses 1212 1213 +1
Partials 25 25
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
cdk init allows setting custom project name with new --name option cdk init allows setting custom project name with new -n, --project name option
cdk init allows setting custom project name with new -n, --project name option cdk init allows setting custom project name with new --project name, -n option
cdk init allows setting custom project name with new --project name, -n option cdk init supports custom project names with --project name, -n option
alias-rahil
commented
Jan 12, 2026
| expect(Object.entries(pj.devDependencies)).toContainEqual(['aws-cdk-lib', '2.100']); | ||
| }); | ||
|
|
||
| cliTest('can specify project name with --name option', async (workDir) => { |
Contributor
Author
There was a problem hiding this comment.
this should be
cliTest('can specify project name with --project-name option', async (workDir) => {instead of
cliTest('can specify project name with --name option', async (workDir) => {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #990
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license